<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge">
    <title>布局</title>
    <link href="./layout.css" rel="stylesheet" />
    <link href="./index.css" rel="stylesheet" />
</head>
<body>
    <div class="main" >
        <h5>基础用法</h5>
        <div id="layout" style="width:800px;height:600px;" >
            <div data-type="left" ></div>
            <div data-type="top" ></div>
            <div data-type="center" ></div>
            <div data-type="right" ></div>
            <div data-type="bottom" ></div>
        </div>
        <h5>嵌套用法</h5>
        <div id="layout2" style="width:800px;height:600px;margin-top: 16px;" >
            <div data-type="left" >
               
            </div>
            <div data-type="top" >
                
            </div>
            <div data-type="center" >
                <div id="layout3">
                    <div data-type="left" >
                    </div>
                    <div data-type="top" ></div>
                    <div data-type="center" ></div>
                    <div data-type="right" ></div>
                    <div data-type="bottom" ></div>
                </div>
            </div>
            <div data-type="right" ></div>
            <div data-type="bottom" ></div>
        </div>
    </div>
    <script src="./jquery-1.10.2.min.js"></script>
    <script src="./layout.js"></script>
    <script src="./index.js"></script>
</body>
</html>